import { $get } from "@src/assets/js/request"

export async function getCaseList (
  current,
  condition,
  status
) {
  const o = {
    condition: JSON.stringify(condition),
    current,
    page_size: 10
  }
  if (status !== '全部') {
    o.status = status
  }
  const res = await $get('/api/xd/case/findCaseByAccountid', o)
  return res.data
}